package com.ruoyi.info.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 住户对象 sys_household
 * 
 * @author ruoyi
 * @date 2022-10-04
 */
public class SysHousehold extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 住户ID */
    private Long id;

    /** 住户名称 */
    @Excel(name = "住户名称")
    private String username;

    /** 住户电话 */
    @Excel(name = "住户电话")
    private String phone;


    /** 住户地址 */
    @Excel(name = "住户地址")
    private String address;

    /** 住户状态 */
    @Excel(name = "住户状态")
    private Integer state;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 小区ID */
    @Excel(name = "小区ID")
    private Long villageId;
    private SysVillage sysVillage;

    /** 楼栋ID */
    @Excel(name = "楼栋ID")
    private Long buildingId;
    private SysBuilding sysBuilding;

    @Override
    public String toString() {
        return "SysHousehold{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", state=" + state +
                ", description='" + description + '\'' +
                ", villageId=" + villageId +
                ", sysVillage=" + sysVillage +
                ", buildingId=" + buildingId +
                ", sysBuilding=" + sysBuilding +
                '}';
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Long getVillageId() {
        return villageId;
    }

    public void setVillageId(Long villageId) {
        this.villageId = villageId;
    }

    public SysVillage getSysVillage() {
        return sysVillage;
    }

    public void setSysVillage(SysVillage sysVillage) {
        this.sysVillage = sysVillage;
    }

    public Long getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Long buildingId) {
        this.buildingId = buildingId;
    }

    public SysBuilding getSysBuilding() {
        return sysBuilding;
    }

    public void setSysBuilding(SysBuilding sysBuilding) {
        this.sysBuilding = sysBuilding;
    }

}
